﻿using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using System.Threading;
using Volo.Abp.Domain.Repositories;

namespace mozhi.smarterp.Business.Sales.Repositories
{
    public interface ISaleProductPriceRepository : IRepository<SaleProductPrice, Guid>
    {
        Task<List<SaleProductPrice>> GetPagedListAsync(string keyword, string code, string name, Guid? customerId, Guid? currencyId, int skipCount, int maxResultCount, string sorting, bool includeDetails = false, CancellationToken cancellationToken = default(CancellationToken));

        Task<long> GetCountAsync(string keyword, string code, string name, Guid? customerId, Guid? currencyId, Guid? excludeId , CancellationToken cancellationToken = default(CancellationToken));
    }
}
